﻿<%if not in_sdcms then response.write("template load fail"):response.end() end if%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{seokey}" />
<meta name="Description" content="{seodesc}" />
<title>{title}{if page>1}_第{page}页{/if}_{classname}_{sdcms[webname]}</title>
<link href="{webroot}lib/css/base.css" rel="stylesheet" type="text/css" />
<link href="{webroot}theme/default/css/public.css" rel="stylesheet" type="text/css" />
<link href="{webroot}theme/default/css/photoshow.css" rel="stylesheet" type="text/css" />
{if iscomment=1 and syscomment}<link href="{webroot}theme/default/css/comment.css" rel="stylesheet" type="text/css" />{/if}
<script>var webroot="{webroot}",infoid="{rsshow[cid]}",murl="show.asp?id={id}",contenturl="{contenturl}";</script>
<script src="{webroot}lib/js/jquery.js"></script>
<script src="{webroot}lib/js/jquery-migrate-1.1.0.min.js"></script>
<script src="{webroot}lib/tips/jquery.tips.js"></script>
<script src="{webroot}lib/js/base.js"></script>
{if sdcms[sys_mobile]}<script src="{webroot}lib/js/mobile.js"></script>{/if}
<script src="{webroot}lib/validator/jquery.validator.js"></script>
<script src="{webroot}lib/validator/zh_CN.js"></script>
<script src="{webroot}theme/default/js/sdcms.js"></script>
<script src="{webroot}lib/dialog/artdialog.js"></script>
<script src="{webroot}lib/js/sdcms.mood.js"></script>
<script src="{webroot}lib/js/sdcms.hits.js"></script>
{if iscomment=1 and syscomment}<script src="{webroot}lib/js/sdcms.comment.js"></script>{/if}
<script src="{webroot}lib/js/sdcms.photo.js"></script>
</head>

<body>
    {sdcms:include("../../sdcms_head.asp")}
    
    <div id="position">您所在的位置：<a href="{webroot}">首页</a>{sdcms.getpostion(parentid," > ")} > 正文</div>
    <div class="w980 mt10 mc">
        <div class="w920 bt">
            <div class="title"><h1>{title}</h1></div>
                <div class="item">作者：{author}　来源：{comefrom}　日期：{createdate}　人气：<span id="hits">{hits}</span>　<a href="javascript:;" onclick="addfavorite({id})">加入收藏</a>{if iscomment=1 and syscomment}　评论：<span id="commentnum"><a href="{webroot}plug/comment.asp?id={id}">{comments}</a></span>{/if}　标签：{for i=0 to ubound(tags)}<a href="{webroot}plug/tags.asp?tag={server.urlencode(tags(i))}">{tags(i)}</a> {/for}</div>
                {dim picarr:picarr=eval(rsshow("piclist"))}
                {dim introarr:introarr=eval(rsshow("introlist"))}
                <div class="thumbpic">
                    <a href="javascript:;" class="bntprev"></a>
                    <div id="piclist">
                        <ul>
                            {for i=0 to ubound(picarr)}
                            <li><img src="{picarr(i)}" /><tt></tt></li>
                            {/for}
                        </ul>
                    </div>
                    <a href="javascript:;" class="bntnext"></a>
                </div>
                
                 <div id="originalpic">
                    <ul>
                    {for i=0 to ubound(picarr)}
                    <li><img src="{picarr(i)}" />
                    <div>{introarr(i)}</div>
                    </li>
                    {/for}
                    </ul>
                    <a id="aPrev" style="cursor:url({webroot}lib/images/prev.cur),auto"></a>
                    <a id="aNext" style="cursor:url({webroot}lib/images/next.cur),auto"></a>
                </div>
                <div class="content">{content}</div>
                <div class="list_page">{get_content_page}</div>
                <strong>本文网址：</strong><a href="{contenturl}" title="{title}">{contenturl}</a>
                <div class="infodot"></div>
                <div class="pre">上一篇：{sdcms:rs top="1" field="id,isurl,url,title,style,classid" table="sd_content" where="islock=1 and classid=[classid] and id<[id] and isurl=0" order="id desc"}
            {rs:eof}<span class=c9>没有资料</span>{/rs:eof}
            <a href="{$rs[link]}" title="{$rs[title]}">{$rs[title]}</a>
            {/sdcms:rs}</div>
                <div class="next">下一篇：{sdcms:rs top="1" field="id,isurl,url,title,style,classid" table="sd_content" where="islock=1 and classid=[classid] and id>[id] and isurl=0"}
            {rs:eof}<span class=c9>没有资料</span>{/rs:eof}
            <a href="{$rs[link]}" title="{$rs[title]}">{$rs[title]}</a>
            {/sdcms:rs}</div>
                {if likeid<>"0"}
                <div class="infodot"></div>
                <div class="like">
                    <p>相关文章</p>
                    <ul>
                        {sdcms:rs top="10" field="id,title,style,createdate,isurl,url,classid" table="sd_content" where="islock=1 and id in([likeid])" order="ontop desc,id desc"}
                        <li>·<a href="{$rs[link]}" title="{$rs[title]}"{if $rs[isurl]=1} target="_blank"{/if} {$rs[style]}>{sdcms.cutstr($rs[title],30,1)}</a></li>
                        {/sdcms:rs}   
                    </ul>
                </div>
                {/if}
        </div>
    </div>
    {if iscomment=1 and syscomment}
    <div class="w980 mt10 mc">
        <div class="w920 b">
            <div class="ctitle"><span><a href="{webroot}plug/comment.asp?id={id}">更多>></a></span>网友评论</div>
            <div id="commenttop"></div>
            <div class="p10"></div>
            <div class="ctitle">发表评论</div>
             <div id="comment_staus"></div>
        </div>
    </div>
    {/if}
    {sdcms:include("../../sdcms_foot.asp")}